package com.yunhe.sms.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LeiPeifeng
 * @version V1.0
 * @date 2017/10/27 0027 11:44
 * @Description: 主页左侧菜单树
 */
public class Menus {
    private Long id;
    private String name;
    private String url;
    private List<Menus> menusList = new ArrayList<>();

    public Menus(){};

    public Menus(Long id, String name, String url) {
        this.id = id;
        this.name = name;
        this.url = url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Menus> getMenusList() {
        return menusList;
    }

    public void setMenusList(List<Menus> menusList) {
        this.menusList = menusList;
    }
}
